<template>
  <a-result status="500" title="500" sub-title="Sorry, the server is wrong.">
    <template #extra>
      <a-button type="primary" @click="backGo">Back Home</a-button>
    </template>
  </a-result>
</template>
<script setup>
import { useRouter, useRoute } from "vue-router";
const router = useRouter();
const route = useRoute();
const backGo = () => {
  router.push(route.query.url);
};
</script>
